<?php
include($includes_path.'/functions.inc.php');
?>

<form method="POST" action="">
    <fieldset>
        <legend></legend>
        <label for="user">Username:</label>
        <input type="text" class="inputtxt" name="user" value="<?php print($_POST['user']); ?>" />
        <br />
        <label for="pass">Password:</label>
        <input type="password" class="inputtxt" name="pass" value="" />
        <br />
        <label for="pass">Verrify password:</label>
        <input type="password" class="inputtxt" name="pass_ver" value="" />
        <br />
        <label for="name">Name:</label>
        <input type="text" class="inputtxt" name="name" value="<?php print($_POST['name']); ?>" />
        <br />
        <label for="surname"><span class="grey">Surname:</span></label>
        <input type="text" class="inputtxt" name="surname" value="<?php print($_POST['surname']); ?>" />
        <br />
        <label for="mail">E-mail:</label>
        <input type="text" class="inputtxt" name="mail" value="<?php print($_POST['mail']); ?>" />
        <br />
    </fieldset>
    <fieldset>
        <legend></legend>
        <input type="submit" value="Submit information"  />
        <input type="reset" value="Reset form" name="reset" />
    </fieldset>
</form>
<p>* Black fields are required, grey fields may be left blank.</p>
<?php print('<p>'.$signError.'</p>') ?>